package com.climber.dao;

import com.climber.pojo.Book;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("bookDao")
@Mapper
public interface BookDao {
    public Book selectBookById(int id);

    public List<Book> selectAllBook();

    public int addBook(Book book);

    public int updateBook(Book book);

    public int deleteBook(int id);

    


}
